package com.xm.service;

import com.xm.pojo.Member;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface MemberService {
    List<Member> findAll();

    void add(Member member);

    void logicDelete(Member member);

    void updateMember(Member member);

    void batchDel(Integer[] ids);

    List<Member> findByIds(Integer[] ids);

    void upload(MultipartFile file);

    List<Member> findDeleted();

    void restoreById(Member member);

    void batchRes(Integer[] ids);

    void deleteById(String memberid);

    List<Member> findById(String v);

    List<Member> findByMembername(String v);

    List<Member> findByNick(String v);

    List<Member> findByPhone(String v);

    List<Member> findByQQ(String v);

    Integer getmemberNum();
}
